home *** CD-ROM | disk | FTP | other *** search
-
-
-
- append(n) Tcl Built-In Commands
-
-
-
- _________________________________________________________________
-
- NAME
- append - Append to variable
-
- SYNOPSIS
- append _v_a_r_N_a_m_e _v_a_l_u_e ?_v_a_l_u_e _v_a_l_u_e ...?
- _________________________________________________________________
-
-
- DESCRIPTION
- Append all of the _v_a_l_u_e arguments to the current value of
- variable _v_a_r_N_a_m_e. If _v_a_r_N_a_m_e doesn't exist, it is given a
- value equal to the concatenation of all the _v_a_l_u_e arguments.
- This command provides an efficient way to build up long
- variables incrementally. For example, ``append a $b'' is
- much more efficient than ``set a $a$b'' if $a is long.
-
-
- KEYWORDS
- append, variable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Tcl 1
-
-
-
-